package org.example.util;

import com.google.gson.Gson;

public class JsonUtils {

    private static Gson gson = new Gson();

    public static <T> T fromJson(String json, Class<T> clazz) {
        return gson.fromJson(json, clazz);
    }
}
